﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BASE;



public partial class gopykien : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Utils.getStringSession("masv") == "")
        {
            Response.Redirect("/");
        }
        Session["menu"] = Constants.GOPYKIEN;
    }
    protected void btn_ok_Click(object sender, EventArgs e)
    {
        entYKien entYK = new entYKien();
        busYKien busYK = new busYKien();
        entYK.ChuDe = txt_chude.Text;
        entYK.NoiDung = txt_noidung.Text;
        entYK.NguoiGui = Utils.getStringSession("masv");
        busYK.create(entYK);
    }
}